from pydantic import BaseModel
from typing import Optional

class CreateConversationRequest(BaseModel):
    name: Optional[str] = None

class ConversationResponse(BaseModel):
    id: int
    name: Optional[str]
    created_at: str
    message_count: int 